package com.sheep.log;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * 什么都不加启动spring
 *
 * @author 第七人格
 * @date 2023/04/16
 */
@Slf4j
public class LogbackLog {

    public static void main(String[] args) {

        AnnotationConfigApplicationContext
                context = new AnnotationConfigApplicationContext();
        context.refresh();

        log.info("我是logback在项目中打印的日志");
    }
}
